import request from "@/utils/request";

export function getData() {
  return request({
    url: `room/contribution/config`,
    method: "get"
  });
}

export function postData(data) {
  return request({
    url: `room/contribution/config`,
    method: "post",
    data
  });
}
export function postEditData(data) {
  return request({
    url: `room/contribution/config/update`,
    method: "post",
    data
  });
}

export function deleteData(data) {
  return request({
    url: `room/contribution/config`,
    method: "delete",
    data
  });
}
